package com.yuebao.service;


import com.alibaba.csp.sentinel.slots.block.BlockException;
import lombok.extern.slf4j.Slf4j;

//限流之后 被分流走的方法 要跟原函数返回接口一样
@Slf4j
public class BlockHandlerService {


    public static String testBlock(BlockException e){
        log.info("被限流");

        return "被限流";
    }
}
